package com.qiall.project.ability;


import com.qiall.common.entity.PageResponse;
import com.qiall.common.exception.BusinessResult;

import com.qiall.common.request.GetByIdRequest;
import com.qiall.project.ability.request.AddOrUpdateTaskRequest;
import com.qiall.project.ability.request.TaskDTO;
import com.qiall.project.ability.request.TaskInfoGetByPageRequest;

/**
 * @author 吴金辉
 */
public interface TaskService {

    BusinessResult<Void> addOrUpdateTaskInfo(AddOrUpdateTaskRequest request);

    BusinessResult<Void> deleteTaskInfo(GetByIdRequest request);

    BusinessResult<TaskDTO> getTaskInfo(GetByIdRequest request);

    BusinessResult<PageResponse<TaskDTO>> getByPage(TaskInfoGetByPageRequest request);


}
